package com.kwokstudio.fuselage;

import android.app.Application;
import android.content.Context;

import com.facebook.drawee.backends.pipeline.Fresco;

/**
 * Created by 郭垒 on 2016/11/15.
 */

public class MyApp extends Application {
    public static Context context;
    @Override
    public void onCreate() {
        super.onCreate();
        //获取一个全局Context;
        context=getApplicationContext();

        initFresco();
    }

    private void initFresco() {
        Fresco.initialize(this);
    }
}
